/**
 * jims
 */
package com.jims.master.modules.nurse.entity;

import org.hibernate.validator.constraints.Length;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;

import com.jims.master.common.persistence.DataEntity;

/**
 * 辅助护理项目Entity
 * @author CTQ
 * @version 2017-06-01
 */
public class NurseTempInfo extends DataEntity<NurseTempInfo> {
	
	private static final long serialVersionUID = 1L;
	private String patientId;		// 病人ID
	private String visitId;		// 住院ID
	private Integer badNo;		// 床号
	private Date inspecttionDate;		// 测量日期
	private Integer postoperatDays;		// 术后天数
//	private Integer poopCount;		// 大便次数
//	private String bloodPressure1;		// 血压1
//	private String bloodPressure2;		// 血压2
//	private Integer intake;		// 入量
//	private Integer output;		// 出量
//	private Integer weight;		// 体重数值
//	private Integer weightType;		// 体重类型 1:数值,2:平车,3:卧床,4:抱入,5:轮椅
//	private Integer height;		// 身高
//	private Integer heightType;		// 身高类型
//	private Integer urineVolume;		// 尿量

    private List<NurseTempItemInfo> itemInfos; // 辅助护理项目内容

	private List<NurseTempDetailInfo> nurseTempDetailInfos;
	
	public NurseTempInfo() {
		super();
	}

	public NurseTempInfo(String id){
		super(id);
	}

	
	@Length(min=0, max=64, message="病人ID长度必须介于 0 和 64 之间")
	public String getPatientId() {
		return patientId;
	}

	public void setPatientId(String patientId) {
		this.patientId = patientId;
	}
	
	@Length(min=0, max=64, message="住院ID长度必须介于 0 和 64 之间")
	public String getVisitId() {
		return visitId;
	}

	public void setVisitId(String visitId) {
		this.visitId = visitId;
	}
	
	public Integer getBadNo() {
		return badNo;
	}

	public void setBadNo(Integer badNo) {
		this.badNo = badNo;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getInspecttionDate() {
		return inspecttionDate;
	}

	public void setInspecttionDate(Date inspecttionDate) {
		this.inspecttionDate = inspecttionDate;
	}
	
	public Integer getPostoperatDays() {
		return postoperatDays;
	}

	public void setPostoperatDays(Integer postoperatDays) {
		this.postoperatDays = postoperatDays;
	}

	public List<NurseTempDetailInfo> getNurseTempDetailInfos() {
		return nurseTempDetailInfos;
	}

	public void setNurseTempDetailInfos(List<NurseTempDetailInfo> nurseTempDetailInfos) {
		this.nurseTempDetailInfos = nurseTempDetailInfos;
	}

    public List<NurseTempItemInfo> getItemInfos() {
        return itemInfos;
    }

    public void setItemInfos(List<NurseTempItemInfo> itemInfos) {
        this.itemInfos = itemInfos;
    }
}